/***********************************************************************
 * Module:  Metamodel.java
 * Author:  Stefan
 * Purpose: Defines the Class Metamodel
 ***********************************************************************/

package org.dslintegration.merge.km3.core;

import java.util.ArrayList;
import java.util.List;

public class Metamodel extends LocatedElement {

	public List<Package> contents;

	public Metamodel(String location) {
		contents = new ArrayList<Package>();
		this.location = location;
	}

	public List<Package> getContents() {
		return contents;
	}

	public void setContents(List<Package> contents) {
		this.contents = contents;
	}
	
	public void addPackage(Package aPackage){
		this.contents.add(aPackage);
	}

	@Override
	public String toString() {
		return "Metamodel [location=" + location + ", contents=" + contents
				+ "]";
	}

	

}